package cn.kgc.mes.storage.mapper;

import java.util.List;
import cn.kgc.mes.storage.domain.Warehouse;

/**
 * 仓库设置Mapper接口
 * 
 * @author ydw
 * @date 2025-09-16
 */
public interface WarehouseMapper 
{
    /**
     * 查询仓库设置
     * 
     * @param warehouseId 仓库设置主键
     * @return 仓库设置
     */
    public Warehouse selectWarehouseByWarehouseId(Long warehouseId);

    /**
     * 查询仓库设置列表
     * 
     * @param warehouse 仓库设置
     * @return 仓库设置集合
     */
    public List<Warehouse> selectWarehouseList(Warehouse warehouse);

    /**
     * 新增仓库设置
     * 
     * @param warehouse 仓库设置
     * @return 结果
     */
    public int insertWarehouse(Warehouse warehouse);

    /**
     * 修改仓库设置
     * 
     * @param warehouse 仓库设置
     * @return 结果
     */
    public int updateWarehouse(Warehouse warehouse);

    /**
     * 删除仓库设置
     * 
     * @param warehouseId 仓库设置主键
     * @return 结果
     */
    public int deleteWarehouseByWarehouseId(Long warehouseId);

    /**
     * 批量删除仓库设置
     * 
     * @param warehouseIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteWarehouseByWarehouseIds(Long[] warehouseIds);
}
